package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**客户邮寄信息
 * @author Administrator
 *
 */
@Entity
@Table(name = "sl_crm_customerMailingInfo")
public class CustomerMailingInfo extends Root{
	
	@ManyToOne
	@JoinColumn(nullable=false)
	private Customer customer;
	//（1为默认）
	private int isDefaultHost;//主机默认信息
	private int isDefaultPart;//备件默认
	
	//////邮寄信息/////////////
	/** 邮寄单位 */
	@Column(name="sPostUnit")
	private java.lang.String postUnit;
	/** 邮寄代表 */
	@Column(name="sPostDelegate")
	private java.lang.String postDelegate;
	/** 邮寄号码 */
	@Column(name="sPostPhone")
	private java.lang.String postPhone;
	/** 邮寄地址 */
	@Column(name="sPostAddress")
	private java.lang.String postAddress;
	/** 邮寄邮编 */
	@Column(name="nPostZip")
	private String postZip;
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public int getIsDefaultHost() {
		return isDefaultHost;
	}
	public void setIsDefaultHost(int isDefaultHost) {
		this.isDefaultHost = isDefaultHost;
	}
	public int getIsDefaultPart() {
		return isDefaultPart;
	}
	public void setIsDefaultPart(int isDefaultPart) {
		this.isDefaultPart = isDefaultPart;
	}
	public java.lang.String getPostUnit() {
		return postUnit;
	}
	public void setPostUnit(java.lang.String postUnit) {
		this.postUnit = postUnit;
	}
	public java.lang.String getPostDelegate() {
		return postDelegate;
	}
	public void setPostDelegate(java.lang.String postDelegate) {
		this.postDelegate = postDelegate;
	}
	public java.lang.String getPostPhone() {
		return postPhone;
	}
	public void setPostPhone(java.lang.String postPhone) {
		this.postPhone = postPhone;
	}
	public java.lang.String getPostAddress() {
		return postAddress;
	}
	public void setPostAddress(java.lang.String postAddress) {
		this.postAddress = postAddress;
	}
	public String getPostZip() {
		return postZip;
	}
	public void setPostZip(String postZip) {
		this.postZip = postZip;
	}


	
	
	
	
	
	
	
	
}
